package com.campus.merchant.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.campus.common.mybatis.entity.IntegerIdBaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 反馈类型配置表
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("feedback_type")
@ApiModel(value = "FeedbackType对象", description = "反馈类型配置表")
public class FeedbackType extends IntegerIdBaseEntity<FeedbackType> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("反馈类型名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("反馈类型编码")
    @TableField("code")
    private String code;

    @ApiModelProperty("类型描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("适用用户类型：1-顾客，2-商户，3-配送员")
    @TableField("user_type")
    private Integer userType;

    @ApiModelProperty("排序序号")
    @TableField("sort_order")
    private Integer sortOrder;

    @ApiModelProperty("状态：0-禁用，1-启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
